//
//  main.swift
//  chengfabiao
//
//  Created by shenboren on 2017/9/11.
//  Copyright © 2017年 shenboren. All rights reserved.
//

import Foundation
var num = 1

var result = ""

for row in 1...9{

    var tmp = ""

    for row in 1..<num{
        tmp = tmp + "\(row)*\(num)=\(row*num)\t"
    }

    result =  tmp + "\(row)*\(num)=\(row*num)"
    print(result)
    
    num += 1
}

